package com.burgeon.backend.SHOPBACKEND.mappers;

import com.burgeon.backend.SHOPBACKEND.entity.couponGift.CouponGiftBean;
import com.burgeon.backend.SHOPBACKEND.entity.couponGift.CouponGiftItem;
import com.burgeon.backend.entity.CouponType;

import java.util.List;

public interface BackendCouponGiftMapper {

    Integer delItem(String id);

    Integer addCouponGift(CouponGiftBean couponGiftBean);

    Integer addCouponGiftItem(String cid, String tid);

    List<CouponGiftBean> getlist(String token);

    List<CouponGiftItem> getItemList(String id);

    Integer upItemCount(String id, int count);

    List<CouponType> getCouponTypeList(String giftId);


    void upContent(String cid, String name, Integer integral, String startDate, String endDate, String show);

    CouponGiftBean showContent(String cid);
}
